
struct dynamic_sequence_table{

	size_t capacity;
	size_t size;

	size_t elemsize;
//	void *data;
    char data[];

};


typedef struct dynamic_sequence_table* dst;

dst create_dst(size_t elemsize,size_t capacity);

dst create_fixed_dst(size_t elemsize);

void destroy_dst(dst d);

size_t capacity_dst(dst d);

size_t size_dst(dst d);

bool empty_dst(dst d);

int insert_dst(dst d,size_t pos,void *pdata);

int push_back_dst(dst d,const void *pdata);
